package com.caesar.method_son;

import com.caesar.method_fa.ElectronicDevice;

/**
 * @author caesar
 * @date 2025/7/7
 * @Description:
 * @apiNote
 */
public class Laptop extends ElectronicDevice {
    public Laptop() {
    }

    public Laptop(String brand, String model) {
        super(brand, model);
    }

    public void connectToInternet() {
        System.out.println("联网");
    }

    @Override
    public String toString() {
        return "笔记本电脑" + super.toString();
    }
}
